import request from '@/config/axios'

// 查询eqim列表
export const list = async () => {
  return await request.get({ url: '/eqim/eqimData/list'})
}

//获取eqim
export const getEqim = async (id) => {
  return await request.get({ url: '/eqim/eqimData/' + id})
}

//修改eqim
export const updateEnable = async (item) => {
  return await request.put({ url: '/eqim/eqimData/createOrUpdate',data:item})
}

//删除eqim
export const deleteEqim = async (ids) => {
  return await request.delete({ url: '/eqim/eqimData/delete',data:ids})
}

// 保存
export const addEqim = async (dataform) => {
  return await request.post({ url: '/eqim/eqimData/create', data: dataform })
}

export const postCityList = async (citydata) => {
  return await request.post({ url: '/att/saveTempData', data: citydata })
}